<template>
	<page-body>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center withdrawalDetails_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub withdrawalDetails_fd0_0'>
					<view class='flex flex-wrap align-center withdrawalDetails_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  withdrawalDetails_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='withdrawalDetails_fd0_0_c1_c0'>提现明细</text>
						<image class='balance_fd0_0_c1_c1' mode="aspectFit" :src='STATIC_URL+"151.png"' @tap.stop="popupShow1716535384940 = true"></image>
					</view>
					<view class='flex flex-wrap align-center justify-end withdrawalDetails_fd0_0_c0'>
					</view>
				</view>

			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

			<view class="flex benben-flex-layout flex-wrap align-center">
				<view class='flex flex-direction flex-wrap align-stretch flex-sub withdrawalDetails_fd1_0'>
					<view class='flex flex-wrap align-center justify-between withdrawalDetails_fd1_0_c0'
						v-if="start_time!='' && end_time!=''">
						<view class='flex flex-wrap align-center withdrawalDetails_fd1_0_c0_c0'>
							<text>筛选区间：</text>
							<text>{{start_time}}</text>
							<text>至</text>
							<text>{{end_time}}</text>
						</view>
						<image class='withdrawalDetails_fd1_0_c0_c1' mode="aspectFit" :src='STATIC_URL+"150.png"'
							@tap.stop="clearTimeFunc()"></image>
					</view>
					<template v-for='(item,key0) in withdrawalDetails'>
						<view class='flex flex-direction flex-wrap align-stretch withdrawalDetails_fd1_0_c1' @tap.stop="handleJumpDiy" data-type="navigateTo" 
					                    :data-url="`/pages/riderMy/expenditur/expenditur?order_sn=${item.order_sn}`">
							<view class='flex flex-wrap align-center justify-between'>
								<text class='withdrawalDetails_fd1_0_c1_c0_c0'>{{item.remark}}</text>
								<view class='flex flex-wrap align-center withdrawalDetails_fd1_0_c1_c0_c1'>
									<text class='withdrawalDetails_fd1_0_c1_c0_c1_c0'>{{item.change_money}}</text>
								</view>
							</view>
							<view class='flex flex-wrap align-center justify-between'>
								<text class='withdrawalDetails_fd1_0_c1_c1_c0'>{{item.create_time}}</text>
								<view class='flex flex-wrap align-center'>
									<text class='withdrawalDetails_fd1_0_c1_c1_c1_c0'
										v-if="item.check_status=='1'">审核中</text>
									<text class='withdrawalDetails_fd1_0_c1_c1_c1_c1'
										v-if="item.check_status=='3'">审核驳回</text>
									<text class='withdrawalDetails_fd1_0_c1_c1_c1_c0'
										v-if="item.check_status=='2'">已到账</text>
									<text class="withdrawalDetails_fd1_0_c1_c1_c1_c2">详情 > </text>
								</view>
							</view>
						</view>
					</template>
					<fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
						:listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
				</view>
			</view>
			<benben-popup v-model="popupShow1716535384940" :mask="true" :mask-close-able="true" mode='center'>
				<!---flex布局flex布局开始-->
				<view class="flex benben-flex-layout flex-wrap align-center">
					<benben-calendar-diy mode='range' year-arrow-color='#BFBFBF' month-arrow-color='#BFBFBF'
						start-text=' ' end-text=' ' active-bg-color='rgba(0, 119, 255, 1)'
						range-bg-color='rgba(0, 119, 255, 0.1)' :change-title='true' :change-year='true'
						:change-month='true' class='balance_fd2_0' @change="withdrawalDetailsnpFunc()" :start-time.sync="start_time"
						:end-time.sync="end_time"></benben-calendar-diy>
				</view>
			
				<!---flex布局flex布局结束-->
			
			</benben-popup>




		</view>
	</page-body>
</template>
<script>
	import pagingList from '@/common/mixin/paging_list.js';
	import {
		validate
	} from '@/common/utils/validate.js'

	export default {
		components: {},
		mixins: [pagingList],

		data() {
			return {
				popupShow1716535384940:false,
				"minixPagingListsApi": "",
				"pageingListApiMethod": "",
				"allowOnloadGetList": false,
				"start_time": "",
				"end_time": "",
				"withdrawalDetails": []
			};
		},
		computed: {

		},
		watch: {},
		onLoad(options) {
			this.withdrawalDetailsnpFunc()
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			//清除时间
			clearTimeFunc() {
				this.start_time = '';
				this.end_time = '';
			},
			//提现明细
			withdrawalDetailsnpFunc() {
				this.minixPagingListsApi = global.apiUrls.post636f481b67084;
				this.pageingListApiMethod = 'get';
				this.allowOnloadGetList = false;
				this.pagingListPostDataContent = {
					end_time: this.end_time,
					start_time: this.start_time
				}
				this.listData = [];
				this.withdrawalDetails = this.listData;
				this.pagingListToggle();

			},
			pagingListPostData() {
				return this.pagingListPostDataContent
			}
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.withdrawalDetails_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.withdrawalDetails_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #333;
		line-height: 88rpx;
	}

	.withdrawalDetails_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.withdrawalDetails_fd0_0_c0 {
		width: 120rpx;
	}

	.withdrawalDetails_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.withdrawalDetails_fd1_0_c1_c1_c1_c1 {
		color: #FF6464;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 53rpx;
	}

	.withdrawalDetails_fd1_0_c1_c1_c1_c0 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 500;
		line-height: 53rpx;
	}

	.withdrawalDetails_fd1_0_c1_c1_c0 {
		color: #BFBFBF;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 53rpx;
		margin: 0rpx 0rpx 2rpx 0rpx;
	}

	.withdrawalDetails_fd1_0_c1_c0_c1_c0 {
		color: #2A3948;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 39rpx;
	}

	.withdrawalDetails_fd1_0_c1_c0_c1 {
		padding: 6rpx 0rpx 0rpx 0rpx;
	}

	.withdrawalDetails_fd1_0_c1_c0_c0 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 700;
		line-height: 53rpx;
		margin: 0rpx 0rpx 32rpx 0rpx;
	}

	.withdrawalDetails_fd1_0_c1 {
		border-bottom: 1px solid rgba(238, 238, 238, 1);
		padding: 32rpx 0rpx 32rpx 0rpx;
		margin: 0rpx 32rpx 0rpx 32rpx;
	}

	.withdrawalDetails_fd1_0_c0_c1 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.withdrawalDetails_fd1_0_c0_c0 {
		line-height: 33rpx;
		font-size: 24rpx;
		font-weight: 400;
		color: #FF5E37;
	}

	.withdrawalDetails_fd1_0_c0 {
		background: rgba(255, 94, 55, 0.1);
		background-size: 100% auto !important;
		padding: 15rpx 32rpx 15rpx 32rpx;
	}

	.withdrawalDetails_fd1_0 {
		background: var(--benbenbgColor1);
		background-size: 100% auto;
	}
	.balance_fd0_0_c1_c1 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 24rpx 0 0 10rpx;
	}
	.withdrawalDetails_fd1_0_c1_c1_c1_c2{
		font-weight: 400;
		font-size: 24rpx;
		color: #999999;
		margin: 0 0 0 14rpx;
	}
</style>
